package net.zjitc.mapper;

import net.zjitc.pojo.Register;
import net.zjitc.pojo.User;

import java.util.List;

/**
 * @Author admin
 * @Date 2019/3/26 11:16
 */
public interface UserMapper {
    List<User> findAll();
    void register(Register register);

    User findByName(String username);

    int checkUsername(String username);

    int checkEmail(String email);

    User findById(int id);
}



